package com.ipDev.moyvSys.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "职工登录返回的数据对象")
public class EmpLoginVO implements Serializable {
    @ApiModelProperty("职工的id")
    private int id;

    @ApiModelProperty("职工的名称")
    private String empName;

    @ApiModelProperty("职工的姓名")
    private String name;

    @ApiModelProperty("是否管理员")
    private Integer admin = 0;

    @ApiModelProperty("jwt令牌")
    private String token;
}
